<?php

namespace maotool\src\test;

use maotool\object\ReflectionUtil;
use maotool\util\EnvUtil;
use PHPUnit\Framework\TestCase;
use ReflectionClass;
use ReflectionException;
use ReflectionMethod;
use ReflectionFunction;
class EnvUtilTest extends TestCase
{

    public function testDemo1()
    {
        $env = EnvUtil::get("database");
        var_dump($env);
        $this->assertTrue(true);
    }

    public function testDemo2()
    {
        $env = ReflectionUtil::method(["maotool\util\EnvUtil", "get"], ["database"]);
        var_dump($env);
        $this->assertTrue(true);
    }

}